package com.zhsq.zlc.service.user;

import com.zhsq.zlc.entity.UserEntity;

import java.util.List;


public interface UserService {

	UserEntity findByNameAndPassword(UserEntity entity);

	List<UserEntity> list(UserEntity entity) throws Exception;

	int count(UserEntity entity) throws Exception;

	UserEntity getUserById(UserEntity entity) throws Exception;

	void add(UserEntity entity) throws Exception;

	void edit(UserEntity entity) throws Exception;

	void delete(int id) throws Exception;

}
